

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>机器信息管理-新增</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="layui/css/layui.css" media="all">
  <link rel="stylesheet" href="layui/css/admin.css" media="all">
</head>
<body>

  <div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-card-header"><span style="font-weight: bold; font-size: 22px;">新增机器信息</span></div>
      <div class="layui-card-body" style="padding: 15px;">
       <form class="layui-form" action="">

					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">机器编号：</label>
							<div class="layui-input-inline">
								<input type="text" name="machineId" lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">机器别名：</label>
							<div class="layui-input-inline">
								<input type="text" name="machineName" lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-inline" >
							<label class="layui-form-label">品牌：</label>
							<div class="layui-input-inline">
								<input type="text" name="machine" lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">类型：</label>
							<div class="layui-input-inline">
								<select>
									<option value="">请选择类型</option>
									<option selected="">自动售货机</option>
									<option>格子柜</option>
									
								</select>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">部署地址：</label>
							<div class="layui-input-inline">
								<input type="text" name="adree" lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">状态：</label>
							<div class="layui-input-inline">
								<select>
									<option value="">请选择状态</option>
									<option selected="">正常</option>
									<option>作废</option>
									
								</select>
							</div>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">机器组：</label>
							<div class="layui-input-inline">
								<select>
									<option value="">请选择组</option>
									<option selected="">无</option>
									<option>珠江新城</option>
									<option>五羊新城</option>
									<option>......</option>
								</select>
							</div>
						</div>

						
					
					 <div class="layui-inline" style="margin-left: 130px;">
					 	<div class="layui-input-inline">
              <div class="layui-footer" style="left: 0;">
               <button class="layui-btn select">保存</button>

			   <button class="layui-btn  layui-btn-warm" id="back" >返回</button>
              </div>
             </div>
            </div>
            </div>
				</form>
        </form>
      </div>
    </div>
  </div>

    
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
		<script src="layui/layui.js"></script>
		<script>
			layui.use('form', function() {
				var form = layui.form;

				
			});
			//$(function(){
				$('#back').click(function(){
					//alert(11)
					window.location.href="./machine-info.html";
					return false;
				});
			//});
			</script>
</body>
</html>
